package com.altekis.kanbankaze.shared;

import java.io.Serializable;
import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Represents a task in the Kanban board
 * 
 * @author gabriprat
 * 
 */
@SuppressWarnings("serial")
public class TaskDTO implements Serializable, IsSerializable {
	
	private String color;
	private Date createDate;
	private String description;
	private String id;
	private Date modificationDate;
	private String name;
	private String owner;
	private int priority;
	private int stage;
	private long userStory;

	public TaskDTO() {
		super();
	}
	
	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getModificationDate() {
		return modificationDate;
	}

	public void setModificationDate(Date modificationDate) {
		this.modificationDate = modificationDate;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public int getStage() {
		return stage;
	}

	public void setStage(int stage) {
		this.stage = stage;
	}

	public long getUserStory() {
		return userStory;
	}

	public void setUserStory(long userStory) {
		this.userStory = userStory;
	}
}
